using System;
using System.Collections.Generic;
using System.Text;
using System.Net;


namespace TestSPWS
{
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
              
                localhost.InsightSPWS lhost = new localhost.InsightSPWS();
                lhost.Credentials = new NetworkCredential("ba973", "insight9", "partners");
                lhost.RenameFolder("http://stage-insightdocuments.partners.org", "InsightDocuments/TestForLink2", "InsightDocuments/TestForLink3");
               // lhost.CreateLinkToDocument("http://stage-insightdocuments.partners.org", "InsightDocuments/FolderToLink", "InsightDocuments/TestForLink2/1.txt", "1.aspx");            
               // lhost.CreateLinkToDocument("http://w0105055:36443/sites/insightdocuments", "Shared Documents/FolderToLink", "IShared Documents/TestForLink2/1.txt", "1.aspx");            
                
            }
            catch (System.Web.Services.Protocols.SoapException ex)
            { 
                    
            
            }
            
        }
    }
}
